mung
Posts: 506
Joined: Fri Nov 18, 2011 10:49 am

USB DMA kernel changes?

Thu Feb 12, 2015 11:15 am

I am having weird problems with USB, not looked into it much yet but I am guessing kernel or blob are doing something new/weird with usb and or DMA.

I am probably totally wrong, as I said not looked into it yet but thought I would ask here first in case anyone has any ideas.

Maybe blob incompatible with my older kernel or something else, symptoms are mouse and keyboard do not work in X, I think this is dues to bcm module not loading probably due to incompat blob, but also have problems with DMA with a stock raspbian kernel where the entire usb system shutsdown (lights go off on ketboard and optical mouse when I run program using DMA)

Is usb now using DMA, if so how can the DMA channels in use be found and avoided?

I probably know the answers to this already as I have vague memories of asking about DMA conflict over a year ago, but then found that was not actually the problem, but to possibly save myself time I thought I would check.

Anyone have any ideas/suggestions?


EDIT: forgot to say this is on rpi1 b+ with latest raspbian and a fully upgraded a couple of days ago.
Last edited by mung on Thu Feb 12, 2015 11:19 am, edited 1 time in total.

User avatar
RaTTuS
Posts: 10563
Joined: Tue Nov 29, 2011 11:12 am
Location: North West UK
Contact: Twitter YouTube

Re: USB DMA kernel changes?

Thu Feb 12, 2015 11:18 am

post your code ?
some address have changed in the RPI2
How To ask Questions :- http://www.catb.org/esr/faqs/smart-questions.html
WARNING - some parts of this post may be erroneous YMMV

1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe

jdb
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 2397
Joined: Thu Jul 11, 2013 2:37 pm

Re: USB DMA kernel changes?

Thu Feb 12, 2015 11:25 am

Define "weird".

Edit: For no keyboard/mouse in X, SSH into the Pi and run lsmod. I suspect you don't have modules loaded.
Rockets are loud.
https://astro-pi.org

User avatar
joan
Posts: 14959
Joined: Thu Jul 05, 2012 5:09 pm
Location: UK

Re: USB DMA kernel changes?

Thu Feb 12, 2015 11:29 am

This may help in finding channels used by the GPU.

http://www.raspberrypi.org/forums/viewt ... 81#p615781

Return to “General discussion”