Previous day | Jump to hour: 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | Next day

Seconds: Show Hide | Joins: Show Hide | View raw
Font: Serif Sans-Serif Monospace | Size: Small Medium Large

Click in the nick column to highlight everything a person has said.
The Logo icon identifies that the person is a core developer (has commit access).

#rockbox log for 2017-02-24

00:00:32Pislick0It's not show it, I'll try to upgrade ubuntu version tomorrow,
00:00:43Pislick0Thank you so much for your helps
00:00:55Pislick0I'll write tomorrow night
00:01:05pamauryno problem
00:07:43 Quit Pislick0 (Ping timeout: 260 seconds)
00:17:08 Quit ZincAlloy (Quit: Leaving.)
00:21:32pamauryso apparently the only thing acoustic mode does on NWZ is to change the table. At first glance it seems that it boosts the volume, that may explain why the volume is particularly high
00:21:57pamauryIt's not obvious what cue/rev does based on the tables
00:24:18pamaurythe driver also seems to have function to set trebble and bass cut freq and gain, just need to figure out how to use those
00:25:31pamaurythere are more things like "alc" (no idea), noise cancelling enable and filter type
00:31:24 Quit pamaury (Ping timeout: 260 seconds)
00:54:20 Quit mikroflops (Ping timeout: 264 seconds)
01:00
01:00:33ParkerRSo on my Clip Zip I can ong hold Play (up button) and I get the pitch/semitone menu. I can't figure out how to access this on my Video 5th gen. Tried all the buttons I could think of and am looking through the manual without any luck
01:00:39ParkerR*long
01:01:11 Join mikroflops [0] (~yogurt@178.174.137.46)
01:05:39ParkerRAhh long hold select and it's at the bottom. Somehow missed that like 3 times
01:07:11***Saving seen data "./dancer.seen"
01:12:20 Quit dys` (Ping timeout: 255 seconds)
01:16:11 Quit bastianilso_ (Quit: bastianilso_)
01:26:25 Quit ender` (Quit: The better I get to know men, the more I find myself loving dogs. — Charles de Gaulle)
01:35:11 Join JanC_ [0] (~janc@lugwv/member/JanC)
01:36:28 Quit JanC (Killed (verne.freenode.net (Nickname regained by services)))
01:36:28 Nick JanC_ is now known as JanC (~janc@lugwv/member/JanC)
02:00
02:18:56 Quit MrZeus2 (Ping timeout: 255 seconds)
02:57:54 Join JanC_ [0] (~janc@lugwv/member/JanC)
02:58:49 Quit JanC (Read error: Connection reset by peer)
02:59:14 Nick JanC_ is now known as JanC (~janc@lugwv/member/JanC)
03:00
03:07:13***Saving seen data "./dancer.seen"
03:22:46__builtinsay, I'm interested in getting a release to happen sometime soon
03:23:30 Part rk[ghost]
03:27:01__builtinI've seen the https://www.rockbox.org/wiki/ReleaseChecklist page, but I bet there's more to it than that
03:29:58 Quit snow_bckspc (Quit: User was destroyed by a weapon of mass destruction.)
03:30:54 Join snow_bckspc [0] (~snow_bcks@ganon.dot-server.net)
04:00
04:50:22 Join jhMikeS [0] (~jethead71@d192-24-173-177.try.wideopenwest.com)
04:54:43 Quit jhMikeS (Ping timeout: 240 seconds)
05:00
05:07:19***Saving seen data "./dancer.seen"
05:36:32 Join Jinx [0] (Dojo@unaffiliated/jinx)
05:52:30 Join jhMikeS [0] (~jethead71@d192-24-173-177.try.wideopenwest.com)
06:00
06:49:21 Quit TheSeven (Ping timeout: 240 seconds)
06:49:47 Join TheSeven [0] (~quassel@rockbox/developer/TheSeven)
06:55:28 Quit Senji (Ping timeout: 260 seconds)
07:00
07:07:20***Saving seen data "./dancer.seen"
07:08:05 Quit furrywolf (Ping timeout: 260 seconds)
07:15:27 Join dys [0] (~dys@x5f71f8ee.dyn.telefonica.de)
07:52:46 Quit alexweissman (Remote host closed the connection)
07:53:47 Join alexweissman [0] (~alexweiss@c-68-51-123-75.hsd1.in.comcast.net)
08:00
08:02:07 Join Guest93 [0] (~textual@2a02:a451:41e:1:ed95:8a2c:2e81:49e4)
08:03:44 Quit Guest93 (Client Quit)
08:07:10 Quit Bilgus (Quit: Leaving)
08:21:07 Nick TorC is now known as Birch (~TorC@fsf/member/TorC)
08:25:56 Join parchd [0] (~parchd@unaffiliated/parchd)
08:30:08 Quit alexweissman (Remote host closed the connection)
08:33:52 Join girafe [0] (~girafe@LFbn-1-11729-221.w2-7.abo.wanadoo.fr)
08:38:21 Quit cc___ (Ping timeout: 240 seconds)
08:45:57 Join petur [0] (~petur@91.183.48.77)
08:45:57 Quit petur (Changing host)
08:45:57 Join petur [0] (~petur@rockbox/developer/petur)
09:00
09:07:24***Saving seen data "./dancer.seen"
09:42:54 Join ender` [0] (krneki@foo.eternallybored.org)
09:44:09 Join paulk-collins [0] (~paulk@gagarine.paulk.fr)
09:48:14 Join pamaury [0] (~pamaury@rockbox/developer/pamaury)
10:00
10:03:11pamaury__builtin: re release: one need to essentially freeze the repo (ie only bugfix) and make sure all targets are tested
10:13:13 Join elensil [0] (~edhelas@2001:1c02:1903:d800:813b:8ec9:b2f4:8933)
10:16:08 Quit pamaury (Ping timeout: 260 seconds)
10:27:42 Quit foolsh (Ping timeout: 240 seconds)
10:34:56 Quit mikroflops (Ping timeout: 240 seconds)
10:35:53 Join mikroflops [0] (~yogurt@178.174.137.46)
10:37:09 Join wodz [0] (~wodz@iwl138.internetdsl.tpnet.pl)
10:40:22 Join foolsh [0] (~starchase@162-204-199-234.lightspeed.sbndin.sbcglobal.net)
11:00
11:00:52 Join ZincAlloy [0] (~Adium@2a02:8108:8b80:1700:197c:8ffa:b097:30fa)
11:01:44 Quit parchd (Quit: gone)
11:06:20 Join pamaury [0] (~quassel@wks-50-63.mpi-sws.org)
11:06:20 Quit pamaury (Changing host)
11:06:21 Join pamaury [0] (~quassel@rockbox/developer/pamaury)
11:06:56 Quit girafe (Read error: Connection reset by peer)
11:07:27***Saving seen data "./dancer.seen"
11:16:10 Join pamaury_ [0] (~pamaury@rockbox/developer/pamaury)
11:20:59 Quit foolsh (Ping timeout: 260 seconds)
11:40:49 Join cc___ [0] (~ac@2001:910:113f:1:6a05:caff:fe1c:1627)
11:40:54 Join foolsh [0] (~starchase@162-204-199-234.lightspeed.sbndin.sbcglobal.net)
11:53:16 Join skapazzo [0] (~skapazzo@151.9.205.1)
11:56:25wodzpamaury: I don't see custom FB ioctls to be used in AGPtek OF. However player program is written in C++ which makes it considerably harder to follow what it does actually
12:00
12:01:30pamaury_wodz: so if you suspend the OF and draw on the screen it works but when the OF is restored it's when you see those stripes ?
12:02:21wodzpamaury_: If by 'works' you mean my test program doesn't return any error, then yes
12:02:32pamaury_but it doesn't display anything ?
12:03:42 Quit foolsh (Ping timeout: 240 seconds)
12:04:51wodzpamaury_: Working procedure to see the strips is 1) kill -STOP OF 2) run my drawing binary 3) wait a bit 4) kill -CONT OF - this turns off lcd as timer elapsed 5) wakeup lcd and you see color strips for a short period of time
12:06:24pamaury_don't you think it's a side effect of suspending the OF ?
12:06:36pamaury_if the program wasn't designed for that, who knows what can happen
12:07:57wodzpamaury_: Maybe. But then writing continously to FB with OF working should introduce some visual interference, no?
12:08:18wodzpamaury_: mmaped fb area is shared
12:09:35pamaury_wodz: can't you just kill the OF ?
12:10:18wodzpamaury_: unfortunately no. OF is started from shell script with something like hiby_player && sleep 3 && reboot
12:20:35 Join foolsh [0] (~starchase@162-204-199-234.lightspeed.sbndin.sbcglobal.net)
12:30:57 Join alexweissman [0] (~alexweiss@c-68-51-123-75.hsd1.in.comcast.net)
12:35:12 Quit alexweissman (Ping timeout: 240 seconds)
12:38:26 Quit ZincAlloy (Quit: Leaving.)
12:40:47 Quit foolsh (Ping timeout: 260 seconds)
12:54:27 Join ZincAlloy [0] (~Adium@2a02:8108:8b80:1700:f100:29:7f99:b481)
13:00
13:06:55 Join foolsh [0] (~starchase@162-204-199-234.lightspeed.sbndin.sbcglobal.net)
13:07:29***Saving seen data "./dancer.seen"
13:13:27 Quit ZincAlloy (Quit: Leaving.)
13:24:14pamaury_wodz: isn't it the case that if you kill hiby_player then the rest of this is not executed ?
13:24:27pamaury_I would expect that a killed process evaluates to false
13:27:54 Join parchd [0] (~parchd@unaffiliated/parchd)
13:35:17wodzpamaury_: definitely killing hiby_player reboots deveice
13:37:38wodzpamaury_: http://paste.debian.net/916551/ So no, killing hiby_player reboots
13:38:20wodzbut maybe killing sh executing this script will not
13:43:21wodzHa, that works (no hiby running without reboot) but I still don't see anything on screen.
13:51:56pamaury_wodz: try dumping all the information about framenuffer (fixed and variable)
13:52:18pamaury_it might have some funny/unusual parameters
13:52:30pamaury_or maybe you are not writing to the right buffer ?
13:53:37wodzpamaury_: will do. BTW I found this http://paste.debian.net/916555/
13:55:29pamaury_the framebuffer interface allows one to set some parameters but there is no clear way to know which parameters are valid.
13:55:40pamaury_Maybe check if the OF using ioctl to put the variable info
14:00
14:35:58wodzpamaury_: http://paste.debian.net/916560/
14:53:04pamaury_wodz: it *looks* it's use X8R8G8B8 (ie 32-bpp)
14:53:08pamaury_might explain your issues ?
14:57:47wodzpamaury_: not really
14:58:52pamaury_what is your code for test_fb ? You mentioned that the framebuffer has two buffers, did you try both ?
14:59:21wodzpamaury_: I am thinking about ypanstep = 1 which *I think* means there is double buffering
14:59:40wodzthe lack of documentation is really annoying
15:00
15:01:59pamaury_wodz: I think panning is used for scrolling
15:02:24pamaury_ie you have a conceptually larger display and you can select the subrect to display. There is FBIOPAN_DISPLAY to select the rect
15:02:29pamaury_not sure if it applies here
15:03:27wodzpamaury_: Looks like some drivers use this for double buffering - i.e you update memory and with FBIOPAN_DISPLAY swap the buffers effectively
15:03:43pamaury_yeah you can use for double-buffering, that's a special case
15:03:46pamaury_I am also unsure about how framebuffer handles refresh
15:03:57pamaury_in some cases it is automatic (ie periodic)
15:04:30pamaury_but on some FBIOPAN_DISPLAY or FBIOPUT_VSCREENINFO is necessary to display
15:05:23wodzwhat a mess
15:05:45pamaury_yeah, look at the OF, see if it's using any of those ioctl
15:06:04pamaury_the documentation of framebuffer is so bad no one seems to understand what is the proper way of doing things
15:07:30***Saving seen data "./dancer.seen"
15:08:27wodzpamaury_: I think I spotted FBIOPAN_DISPLAY ioctl in OF
15:09:02pamaury_then try to call that with x and y offset set to 0, I would say *after* writing pixel data, I'm not 100% sure
15:14:56 Join rela [0] (~x@pdpc/supporter/active/rela)
15:18:55wodzpamaury_: This seems to help
15:20:09wodzFBIOPAN_DISPLAY seems to force actual refresh
15:26:54pamaury_so can you finally display something ?
15:27:37wodzpamaury_: yes
15:32:37 Quit petur (Quit: Connection reset by beer)
15:34:17wodzhahah, got kernel panic on agptek. I wonder how I am supposed to hard reset it now :P
15:35:38wodzthe answer: long power
15:39:44wodzhttps://postimg.org/image/5df5vn1zn
16:00
16:01:58pamaury_how did you achieve a panic ?
16:04:12wodzremoved sd card
16:04:35wodzso, the first step towards app port is done
16:05:34pamaury_wodz: did you see the logs about NWZ ? Apparently the acoustic and cue/rev modes only change the volume curve
16:06:08wodzpamaury_: Yes I saw. I had similar feeling briefly looking at driver disasm
16:07:00pamaury_in theory I tink I can gather enough information to directly write to registers on this particular codec but hopefully this won't be necessary
16:07:41wodzwithout documentation that would be a pain
16:08:33pamaury_there is quite a lot of info with the function names and all, but yeah better avoid it if we can
16:10:07wodzpamaury_: Do you know why without acustic mode sound is distorted?
16:10:21pamaury_no it's very unclear to me
16:10:31pamaury_I need to extract the tables for various modes and compare them
16:17:29wodzpamaury_: It could help to play pure sine and capture the output
16:23:36 Join alexweissman [0] (~alexweiss@c-68-51-123-75.hsd1.in.comcast.net)
16:28:31 Quit alexweissman (Ping timeout: 260 seconds)
16:39:17 Join bastianilso_ [0] (~bastianil@kol-aalborghus.cust.fsknet.dk)
16:43:03 Join TheLemonMan [0] (~root@irssi/staff/TheLemonMan)
16:49:21 Join ZincAlloy [0] (~Adium@2a02:8108:8b80:1700:55b5:9b2d:c86b:f26c)
17:00
17:05:45 Join kelvin [0] (d5031e6a@gateway/web/freenode/ip.213.3.30.106)
17:06:22 Join furrywolf [0] (~randyg@172.56.39.71)
17:07:34***Saving seen data "./dancer.seen"
17:14:12 Quit wodz (Ping timeout: 240 seconds)
17:16:38 Quit cc___ (Quit: WeeChat 1.6)
17:17:48 Join alexweissman [0] (~alexweiss@149-160-129-164.dhcp-in.iupui.edu)
17:21:32 Join johnb3 [0] (~johnb2@p57B45974.dip0.t-ipconnect.de)
17:28:04 Quit alexweissman (Remote host closed the connection)
17:29:41 Join Senji [0] (~Senji@85.187.103.250)
17:34:37 Quit kelvin (Quit: Page closed)
17:43:33 Quit ParkerR (Ping timeout: 264 seconds)
17:53:56 Join ParkerR [0] (~ParkerR@znc.withg.org)
17:53:56 Quit ParkerR (Changing host)
17:53:56 Join ParkerR [0] (~ParkerR@unaffiliated/parkerr)
18:00
18:03:46 Part elensil
18:09:00 Quit ParkerR (Quit: ZNC - http://znc.in)
18:09:48 Join ParkerR [0] (~ParkerR@znc.withg.org)
18:09:48 Quit ParkerR (Changing host)
18:09:48 Join ParkerR [0] (~ParkerR@unaffiliated/parkerr)
18:22:42 Join JanC_ [0] (~janc@lugwv/member/JanC)
18:22:52 Join pislick0 [0] (d4fc638f@gateway/web/freenode/ip.212.252.99.143)
18:23:07pislick0hello for everyone
18:23:14pislick0pamaury are you here _
18:23:59 Nick JanC is now known as Guest36981 (~janc@lugwv/member/JanC)
18:23:59 Nick JanC_ is now known as JanC (~janc@lugwv/member/JanC)
18:24:12 Quit Guest36981 (Ping timeout: 240 seconds)
18:28:49 Quit prof_wolfff (Ping timeout: 260 seconds)
18:33:36 Join alexweissman [0] (~alexweiss@149-160-129-164.dhcp-in.iupui.edu)
18:39:08pamaury_pislick0: yes but I'm still at work. Can you wait another one/two hours ?
18:41:22 Join prof_wolfff [0] (~prof_wolf@82.159.0.123.dyn.user.ono.com)
18:42:10pislick0yeah im here
18:52:44 Quit pamaury_ (Ping timeout: 260 seconds)
18:52:57 Join MrZeus2 [0] (~MrZeus@2a02:c7f:7018:6200:954e:5d41:1266:62f6)
18:54:49 Quit alexweissman (Remote host closed the connection)
19:00
19:07:37***Saving seen data "./dancer.seen"
19:12:39 Join smoke_fumus [0] (~smoke_fum@dynamic-vpdn-93-125-63-154.telecom.by)
19:13:07 Join alexweissman [0] (~alexweiss@149-160-129-164.dhcp-in.iupui.edu)
19:29:59 Join wodz [0] (~wodz@89-74-169-198.dynamic.chello.pl)
19:30:55 Join lebellium [0] (~chatzilla@89-93-177-91.hfc.dyn.abo.bbox.fr)
19:40:57 Join pamaury_ [0] (~pamaury@rockbox/developer/pamaury)
19:43:50 Join webguest03 [0] (~02201583@www.haxx.se)
19:48:45 Quit webguest03 (Quit: CGI:IRC (Ping timeout))
19:51:50pamaury_pislick0: here
19:52:14pislick0i'm here too
19:52:55pislick0i plug to cable, and i see inside the mp3 player.. And i have ubuntu last version + internet
19:54:47pamaury_ok so let's try the simplest solution solution of you can still put files on the player. Do you want rockbox or not ?
19:55:15pislick0if possible i want to sony + rockbox
19:57:43pamaury_sure download https://www.dropbox.com/s/28kilkwkjdt51uq/sonynwze370_rb_firmware.sb?dl=0
19:58:38pamaury_when done, put it on the player (in the root folder), rename it to firmware.sb, then *unmount* the player and disconnect the cable
19:58:58pislick0okay i'm waiting for download it
20:00
20:00:33pislick0i send it omg its work :D
20:00:45pislick0you are perfect man
20:01:55pamaury_did it do a firmware upgrade ?
20:02:24pislick0i guess it's the not last firmware
20:02:32pislick0how can upgrade it
20:03:05pislick0i chech it and this firmware 1.00
20:03:38pamaury_yeah the bootloader is based on 1.00 instead of 1.01. I would need to create a update bootloader image to do that
20:04:00pamaury_but I think the differences between 1.00 and 1.01 are incredibly small
20:04:11pamaury_sony didn't even bother to release a firmware upgrade for it
20:04:19pislick0oh really
20:04:46pamaury_so can you rockbox bootloader when it starts ?
20:04:52pamaury_*see rockbox
20:04:53pislick0"you send me sbloader_32 and sonynwz370_1.0.1 , yesterdey, i need this ones _?
20:05:15pislick0yeah how can add it
20:05:47pamaury_if it did a firmware ugrade, it should try to boot rockbox by default. Did the player show a firmware upgrade screen at some point ?
20:06:54pislick0i'm not sure
20:07:55pamaury_then it did nothing
20:08:02pamaury_plug the player again
20:08:11pislick0i do
20:08:23pamaury_is there a file call firmware.sb on it ?
20:08:50pislick0no it's not have firmware.sb file
20:09:59pamaury_then copy again https://www.dropbox.com/s/28kilkwkjdt51uq/sonynwze370_rb_firmware.sb?dl=0
20:10:06pamaury_make sure to change its name to firmware.sb
20:10:34pislick0okay
20:10:50pamaury_now eject/unmount the player, that's very important
20:11:08pamaury_usually it's a right click on the drive in the left panel
20:11:23pamaury_it opens a menu and there should be eject or unmount in it
20:12:10pislick0i click to eject now
20:12:29pamaury_when it says than you can safely remove the player, you can unplug the cable
20:12:59pamaury_wodz: too bad, some older versions of Sony's audio driver allowed the user to override the volume table apparently. But I checked and it's not implemeted in the cs47L01 driver
20:13:16pislick0mp3 player's screen have a cycle and write "usb connection time and ..."
20:13:53wodzpamaury_: The question remains open why sound is distorted
20:14:22pamaury_wodz: yea...
20:14:30pamaury_pislick0: you mean like before ?
20:14:54 Quit johnb3 (Ping timeout: 255 seconds)
20:14:57pislick0no it's plug already,
20:15:04pislick0oh rockbox is starting now
20:16:40pamaury_pislick0: is rockbox working ?
20:16:51pislick0yes it's working now
20:17:12 Quit alexweissman (Remote host closed the connection)
20:18:04pislick0i'm really thank you so so much, you are perfect
20:18:35pamaury_no problem, come back if you have any issue
20:18:48pislick0thank you again and again :)
20:20:01 Join Guest93 [0] (~textual@2a02:a451:41e:1:8d6d:a284:7bdb:d706)
20:21:28 Quit pislick0 (Quit: Page closed)
20:23:14 Join girafe [0] (~girafe@LFbn-1-11729-221.w2-7.abo.wanadoo.fr)
20:24:04wodzhum, hiby_player and sys_server are both needed for usb working
20:25:04pamaury_probably you need to load the right modules and/or write to some /sys entries
20:27:29wodzpamaury: 1) there are no loadable kernel modules (everything is compiled into single image) 2) there is /var/run/sys_server (unix socket?) to which hiby_player tries to connect on usb plug
20:27:56wodzpamaury: sys_server seems to handle USB if requested (and BT by the way)
20:29:34pamaury_then you probably need to poke sys to tell linux to connect usb and run some gadget. Otherwise you'll need to disassemble sys_server
20:30:01wodzyep
20:30:15wodzsys_server is small but C++ again
20:31:57 Quit Guest93 (Quit: My MacBook has gone to sleep. ZZZzzz…)
20:32:01pamaury_if you need some help I can have a look
20:33:08wodzpamaury_: please have a look at /usr/bin/sys_server - it is rather small but my I** tool has hard time with it
20:34:09 Quit parchd (Quit: finished)
20:36:36pamaury_wodz: I'll have a look in 10min
20:43:07 Quit TheLemonMan (Quit: "It's now safe to turn off your computer.")
20:50:26pamaury_indeed it's quite small
20:53:14 Join fujisan [0] (~fujisan@unaffiliated/fujisan)
20:53:41pamaury_wodz: you want me to find the protocol essentially ?
20:54:05wodzpamaury_: Or what it does to activate usb storage
20:54:27wodzpamaury_: but since it handles BT as well protocol would be preffered
20:54:48pamaury_ok, so the socket is AF_UNIX, SOCK_DGRAM as you probably noticed
20:56:01pamaury_(and protocol is 0)
20:56:53pamaury_and it is indeed bound to /var/run/sys_server
20:57:40 Join johnb2 [0] (~johnb2@p57B45974.dip0.t-ipconnect.de)
20:58:54wodzpamaury_: https://www.rockbox.org/irc/log-20170223#16:18:08 with this fix toolchain is big endian (don't understand why really)
20:59:36pamaury_wodz: ok I'll look into it. That could explain your problem ?
21:00
21:00:09pamaury_or did you manage to build a little endian toolchain ?
21:00:17wodzpamaury_: ah, stupid me. you also need to change mips-rockbox-linux-gnu to mipsel-rockbox-linux-gnu
21:00:46pamaury_haha
21:00:48pamaury_:-p
21:07:38***Saving seen data "./dancer.seen"
21:09:23pamaury_arg, IDA is really unhelpful with mips
21:12:05wodzpamaury: my version completely screws up class methods calls
21:25:50pamaury_actually I'm pretty sure this is not C++
21:27:39 Join alexweissman [0] (~alexweiss@149-160-129-164.dhcp-in.iupui.edu)
21:32:01pamaury_I'm looking at usb now
21:32:15 Quit alexweissman (Ping timeout: 268 seconds)
21:34:15 Join Guest93 [0] (~textual@2a02:a451:41e:1:8d6d:a284:7bdb:d706)
21:36:11 Join alexweissman [0] (~alexweiss@2001:18e8:2:28b6:6c49:ca15:55a0:d323)
21:40:26wodzpamaury_: I straced hiby and it definitely pokes at /sys/class/android/android0/ but it also sends some messages to this sys_server socket
21:40:51pamaury_so the message always starts with the service name
21:40:56pamaury_it's a string
21:41:07pamaury_for usb it's "USB"
21:45:36wodzhiby sends something like this "MOUNT:SETLUN:/sys/class/android_usb/android0/f_mass_storage/lun/file empty"
21:46:28pamaury_that must be the mount service, it's another service
21:46:50pamaury_the usb service actually looks empty, ie not doing anything
21:47:55pamaury_yeah the mount actually does stuff
21:48:28pamaury_so the command must start with "MOUNT" because that's the service name
21:50:07wodzpamaury_: hiby does equivalent to this on start http://paste.debian.net/916635/
21:50:20 Quit ParkerR (Ping timeout: 240 seconds)
21:51:36 Quit Guest93 (Quit: Textual IRC Client: www.textualapp.com)
21:54:23wodzon startup hiby sends "MOUNT:MOUNT:/dev/mmcblk0p1 /mnt/sd_0"
21:54:48 Join ParkerR [0] (ParkerR@znc.withg.org)
21:54:48 Quit ParkerR (Changing host)
21:54:48 Join ParkerR [0] (ParkerR@unaffiliated/parkerr)
21:55:02pamaury_I'm trying to figure out the code, it's clearly overkill
21:58:18 Quit bastianilso_ (Quit: bastianilso_)
22:00
22:02:25pamaury_wodz: there are 4 commands for mount:
22:02:25pamaury_MOUNT:MOUNT
22:02:25pamaury_MOUNT:UMOUNT
22:02:25DBUGEnqueued KICK pamaury_
22:02:25pamaury_MOUNT:SETLUN
22:02:25pamaury_MOUNT:FORMAT
22:06:48pamaury_damn the code for the mount command is long
22:07:00pamaury_wodz: anything specific you want to know ?
22:07:48wodzsetlun seems interesting
22:08:21pamaury_wodz: so it sscanf for "MOUNT:SETLUN:%s %s"
22:09:01wodzpamaury_: makes sense considering hiby sends "MOUNT:SETLUN:/sys/class/android_usb/android0/f_mass_storage/lun/file empty"
22:09:04pamaury_and basically I think it writes the second argument into the file given by the first
22:09:30pamaury_so basically echo empty > /sys/class/android_usb/android0/f_mass_storage/lun/file
22:11:04pamaury_hum maybe I was too fast
22:11:25pamaury_it recognizes some special string, stay tuned
22:14:55 Quit amayer (Quit: Leaving)
22:15:48pamaury_wodz: so basically the logic is, I think:
22:15:48pamaury_sscanf(cmd, ""MOUNT:SETLUN:%s %s", sys_file, sys_arg);
22:15:48pamaury_if sys_arg == "empty" then write the empty string to sys_file (ie echo "" > sys_file)
22:15:48pamaury_otherwise write sys_arg to sys_file
22:16:12 Quit johnb2 (Quit: Nettalk6 - www.ntalk.de)
22:20:24pamaury_wodz: the MOUNT:MOUNT command essentially does
22:20:24pamaury_mount -t vfat,exfat,ntfs %s %s
22:20:24pamaury_or
22:20:24pamaury_mount -t vfat,exfat %s %s
22:20:24***Alert Mode level 1
22:20:24pamaury_depending on some magic that depends on whether the device filename contains things like sda, mmcblk0, mmcblk1
22:20:37pamaury_UMOUNT just umount %s
22:20:55pamaury_FORMAT runs /bin/mkfs.vfat %s -n \"%s\"
22:21:29wodzpretty scary
22:22:26 Quit alexweissman (Remote host closed the connection)
22:24:01pamaury_the log service has one command: LOG:%s that sets the loglevel to the argument
22:24:17pamaury_it seems there is only one level: debug
22:25:25 Join alexweissman [0] (~alexweiss@149-160-129-164.dhcp-in.iupui.edu)
22:25:47pamaury_the findable service has two commands:
22:25:47pamaury_FINDABLE:START
22:25:47pamaury_FINDABLE:STOP
22:26:26pamaury_which have more sub commands
22:27:33pamaury_the bluetooth service has many commands
22:29:44pamaury_wodz: should I write all of this info somewhere on the wiki ?
22:29:59wodzpamaury_: would be perfect
22:30:20pamaury_can you create the page or suggest which page/page name
22:30:25***Alert Mode OFF
22:32:24 Join bastian__ [0] (~bastian@kol-aalborghus.cust.fsknet.dk)
22:35:25pamaury_wodz: ^
22:36:05wodzpamaury_: put it in AgptekRocker
22:38:05 Quit alexweissman (Remote host closed the connection)
22:46:09 Quit smoke_fumus (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/)
22:56:55 Join alexweissman [0] (~alexweiss@2001:18e8:2:28b6:1807:adf3:41ed:6661)
22:57:23 Quit wodz (Quit: Leaving)
23:00
23:01:09 Quit alexweissman (Remote host closed the connection)
23:07:41***Saving seen data "./dancer.seen"

Previous day | Next day