IRC log of #cubox of Thu 26 Jul 2012. All times are in CEST < Back to index

09:12 zajiczech hello, i've made some mistake switching kernels (xilka) and now cubox doesn't boot, is there anything i can do with it using putty and serial? it says: Loading file "/uImage" from mmc device 0:1 (mmcda1) ** File not found /uImage
09:14 cbxbiker61 put the SD in another machine and fix the link there
09:15 zajiczech will have to download some live distro, but will try, thanks
09:16 zajiczech i've tried to fix the keyboard issue with blacklist hid_logitech, didn't work, tried KERNEL=="hiddev*", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c52b" with no success
09:17 cbxbiker61 did you update the Bluez also?
09:18 cbxbiker61 i'm pretty sure I remove the bluetooth rules for hid2hci in that version
09:18 cbxbiker61 maybe that
09:18 cbxbiker61 thats what's wrong
09:18 zajiczech how can i do that? sorry i'm not that experienced with linux, it's been over 5 years i've worked with it
09:19 cbxbiker61 did you lsmod after the blacklist?
09:19 zajiczech no
09:20 cbxbiker61 it's a good idea to check to make sure the mod didn't load after you blacklist it
09:21 cbxbiker61 in my case the keyboard/mouse don't work withoutht hid_logitech module
09:21 cbxbiker61 in my case the keyboard/mouse don't work without the hid_logitech module
09:21 zajiczech will try after fixing the wrong link, thank you
11:03 tomlohave ??
11:03 tomlohave back ?
11:03 cbxbiker61 yeah my trackpad messed up
11:04 tomlohave no problem
11:04 tomlohave a special conf for xf86-video-dove ?
11:04 zajiczech cbxbiker61: lsmod gives hid_logitech_dj 8823 0
11:05 cbxbiker61 zajiczech, ok blacklist that module as well as hid_logitech
11:06 zajiczech ok
11:26 zajiczech lsmod shows now hid_logitech, but keyboard/mouse still doesn't work
11:27 zajiczech shows "no hid_logitech_dj"
11:30 KaZeR_W hey guys. i don't recall seeing mention of jffs2 or ubifs on the wiki. i believe theses would be more suited than ext* when using the uSD card. any thought about this?
11:32 cbxbiker61 no, they're not for SD, just internal flash memory
11:33 cbxbiker61 SD is not "raw" flash
11:34 KaZeR_W so you would advise sticking to ext ?
11:34 cbxbiker61 i use ext4 tuned for flash, it works well
11:36 KaZeR_W ok, thanks for the tip
11:37 zajiczech cbxbiker61, may i give you some more output, lsusb or something else?
11:39 cbxbiker61 i'm thinking there is a file in /proc that shows which driver controls each device, i can't remember what it is right now, maybe you can figure that out
11:39 cbxbiker61 but you were working with 3.4.2 and not 3.4.6, right?
11:40 zajiczech will try, with dmesg | grep input i get 1 input: gpio_ir_recv as /devices/virtual/rc/rc0/input0 input: MCE IR Keyboard/Mouse (gpio-rc-recv) as /devices/virtual/input/input1
11:40 zajiczech i'm working with 3.4.6 now, can revert to 3.4.2
11:41 cbxbiker61 so i was thinking you could revert to 3.4.2, find out which driver has control of the wireless keyboard, and then apply that info to the 3.4.6
11:41 cbxbiker61 i'm getting tired now, gotta go, it's 4AM here
11:41 KaZeR_W cbxbiker61, do you have some tweaks on top of your head that you would recommend for the ext4 options?
11:42 zajiczech ok, thanks a lot
11:42 cbxbiker61 KaZeR, i think i put that at in the install instructions for Xilka on the wiki page
11:43 KaZeR_W oh.. i will double check
11:43 KaZeR_W thanks, and good night cbxbiker61
11:49 yaayaa is there a way to make mplayer use the harware acc ?
11:55 yaayaa I'm using xfce and I would just like to play a HD movie on the TV
12:44 zajiczech hi KaZeR, could you give me some more help?
13:00 dv505 rabeeh: can we get some help on the new hardfp GPU drivers?
13:00 dv505 header files and kernel module are missing / not complete
13:50 [freenode-info 13:50 !cameron.freenode.net [freenode-info] channel trolls and no channel staff around to help? please check with freenode support: http://freenode.net/faq.shtml#gettinghelp
14:19 KaZeR_W zajiczech, i don't mind trying, but no promises :)
14:21 zajiczech i have dmesg, lsusb and lsmod listing, i think i know where's the problem, but i know nothing about how to solve it
14:21 zajiczech you can download it here: http://www.zajiczech.cz/cubox/cubox.zip
14:23 zajiczech in the working 3.4.2 kernel, there are some lines indicating that the drivers are loaded, e.g.: input: Logitech USB Receiver as /devices/platform/orion-ehci.0/usb1/1-1/1-1:1.0/input/input0 generic-usb 0003:046D:C52B.0001: input: USB HID v1.11 Keyboard [Logitech USB Receiver] on usb-orion-ehci.0-1/input0
14:23 zajiczech but in 3.4.6 these lines are missing, do you have any idea how to make it work? :-)
14:41 KaZeR_W didn't you blacklist the module earlier?
14:42 zajiczech yes, i've blacklisted hid_logitech and hid_logitech_dj
14:42 zajiczech but in 3.4.2's lsmod it's not listed and it works
14:50 KaZeR_W it's odd. the only differences about modules are for the sound modules.
14:50 KaZeR_W how did you get the 3.4.6 kernel?
14:51 KaZeR_W ah, alsa seems to be compiled in-kernel in your 3.4.6
14:51 KaZeR_W it explains the missing modules
14:53 KaZeR_W also : systemd[1]: Unit systemd-modules-load.service entered failed state.
14:55 zajiczech is there anything i can do with it?
14:56 zajiczech i've downloaded kernel from xilka site
14:56 zajiczech with update script
14:56 KaZeR_W ok. can you boot under your 3.4.2 ?
14:56 zajiczech sure, i can revert back, it will take about 5 minutes
14:56 KaZeR_W ok
15:02 zajiczech back to 3.4.2
15:08 KaZeR_W ok
15:08 KaZeR_W ls /proc/config.gz ?
15:09 Coolgeek hi, I'm trying to compile firefox on cubox archlinux an I have this error : cc1: error: argument to '-O' should be a non-negative integer
15:09 zajiczech ls /proc/config.gz gives /proc/config.gz
15:10 Coolgeek is anyone have a clue ? "gcc -O1,--sort-common,--as-needed,-z,relro -Wl,-rpath,/usr/lib/firefox" <)) here is the command line
15:11 KaZeR_W zajiczech, great. ls -l /usr/src ?
15:11 KaZeR_W Coolgeek, what distro is it? arch?
15:11 Coolgeek KaZeR_W: yup
15:12 KaZeR_W Coolgeek, do you see the cc1 call above that message?
15:12 Coolgeek I gave the command line (gcc)
15:12 KaZeR_W doh.
15:13 KaZeR_W what are thoses ","? it's odd
15:13 KaZeR_W Coolgeek, can you pastebin your full session?
15:13 Coolgeek https://gist.github.com/3181988
15:14 Coolgeek part of LDFLAGS comes from makepkg.conf, other part from PKGBUILD
15:14 KaZeR_W ah it failed during configure
15:14 Coolgeek yup
15:16 KaZeR_W i think it's rather a cflag issue than a ldflag
15:16 KaZeR_W what are you cflags?
15:16 KaZeR_W s/you/your/
15:16 Coolgeek -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2
15:16 zajiczech do i have to look for some specific line in unpacked config?
15:17 KaZeR_W zajiczech, i would try to copy that config to /usr/src/
15:17 KaZeR_W but it might take ages :)
15:17 KaZeR_W if you share it i can also build it here
15:18 zajiczech ls -l /usr/src total 36 drwxr-xr-x 2 root root 36864 Jul 20 14:16 xi/
15:18 zajiczech i can share, but i don't know what to share :-)
15:18 KaZeR_W ah, xilka might have an extra set of patches, i don't know. i can build a kernel using rabeeh's latest tree if you share the config.gz
15:20 zajiczech shall it work with xilka?
15:20 zajiczech http://www.zajiczech.cz/cubox/config.gz
15:21 KaZeR_W zajiczech, it shall yes, because i believe it's also based upon rabeeh's tree. might perform worse thought, but it would help testing your keyboard i guess
15:22 zajiczech from cbxbikers posts, the 3.4.6 kernel should improve xbmc speed
15:22 zajiczech if it could help, i'm in :-)
15:24 zajiczech last message i got was so i was thinking you could revert to 3.4.2, find out which driver has control of the wireless keyboard, and then apply that info to the 3.4.6
15:24 zajiczech but i have no idea how to do that
15:27 KaZeR_W do you know the device of your keyboard?
15:27 KaZeR_W /dev/input/something?
15:29 zajiczech usb-Logitech_USB_Receiver-event-kbd ?
15:29 zajiczech by path it is platform-orion-ehci.0-usb-0:1:1.0-event-kbd@
15:29 KaZeR_W ok. ls -l /sys/class/input/usb-Logitech_USB_Receiver-event-kbd ?
15:31 KaZeR_W ls -l /sys/class/input/usb-Logitech_USB_Receiver-event-kbd/device actually
15:32 zajiczech ls -l /sys/class/input shows: event0 event2 input0 input2 mice mouse1 event1 event3 input1 input3 mouse0
15:32 KaZeR_W then your usb-... was incorrect :)
15:32 zajiczech some symlinks or links or whatever it is :-)
15:32 KaZeR_W try ls -l /dev/input/by-path/
15:32 zajiczech ls /dev/input/ gives the same :-) by-id/ by-path/ event0 event1 event2 event3 mice mouse0 mouse1
15:33 zajiczech total 0 lrwxrwxrwx 1 root root 9 Jul 26 15:01 platform-orion-ehci.0-usb-0:1:1.0-event-kbd -> ../event0
15:33 zajiczech lrwxrwxrwx 1 root root 9 Jul 26 15:01 platform-orion-ehci.0-usb-0:1:1.1-event-mouse -> ../event1
15:33 zajiczech lrwxrwxrwx 1 root root 9 Jul 26 15:01 platform-orion-ehci.0-usb-0:1:1.1-mouse -> ../mouse0
15:33 KaZeR_W ok so we're looking for event 0
15:34 KaZeR_W ls -l /sys/class/input/event0/device/ : do you have a driver entry?
15:34 zajiczech lrwxrwxrwx 1 root root 0 Jul 26 15:34 /sys/class/input/event0/device -> ../../input0/
15:35 zajiczech ls -l /sys/class/input/input0 1 lrwxrwxrwx 1 root root 0 Jul 26 15:01 /sys/class/input/input0 -> ../../devices/platform/orion-ehci.0/usb1/1-1/1-1:1.0/input/input0/
15:35 KaZeR_W ok. ls -l /sys/class/input/input0/device/driver ?
15:38 zajiczech bus/usb/drivers/usbhid/
15:38 zajiczech ls /sys/bus/usb/drivers/usbhid 1 1-1:1.0 1-1:1.1 1-1:1.2 bind module new_id remove_id uevent unbind
15:39 KaZeR_W ok so the driver for you keyboard should be usbhid
15:39 KaZeR_W ls /lib/modules
15:39 zajiczech 2.6.32.59-dove-5.4.2/ 3.4.0-rc6-13072-gd3f1980-dirty/ 3.4.2/ 3.4.5/ 3.4.6/
15:49 KaZeR_W ok
15:53 KaZeR_W Coolgeek, have you tried compiling it in a qemu chroot?
15:53 Coolgeek no, only inside cubox itself
15:56 KaZeR_W ok
16:00 KaZeR_W zajiczech, from your dmesg, your 3.4.6 kernel does support usbhid
16:01 zajiczech so it should work?
16:02 KaZeR_W it should :) can you boot back in 3.4.6 and also share your config.gz?
16:02 KaZeR_W i'll see if i can find any relevent differences
16:02 zajiczech i've found some cbxbikers messages, it makes no sense to me :-) [09:17] did you update the Bluez also? [09:17] i'm pretty sure I remove the bluetooth rules for hid2hci in that version [09:18] maybe that [09:18] thats what's wrong
16:03 zajiczech but i'll boot back to 3.4.6
16:04 KaZeR_W your keyboard is a bluetooth device?
16:04 zajiczech no, it's not
16:05 KaZeR_W ok
16:05 zajiczech logitech k400, wireless
16:05 zajiczech but not bluetooth
16:09 zajiczech http://www.zajiczech.cz/cubox/config_3.4.6.gz
16:12 KaZeR_W ok
18:28 yawniek hi! anyone attached a ssd to the cubox and did benchmarking?