Paul Chakravarti | 2 Dec 2007 11:01
Picon

Fwd: USB problem with ADM5120 (Edimax BR6104KP)

(Resend as plain text)

Hi,

Apologies for reposting the message below however there doesn't seem
to much (any?) activity on port-evbmips so I thought that I would try
here instead in case anyone could point me in the right direction.

Regards, Paul

---------- Forwarded message ----------
From: Paul Chakravarti < paul.chakravarti <at> gmail.com>
Date: Nov 23, 2007 12:38 AM
Subject: USB problem with ADM5120 (Edimax BR6104KP)
To: port-evbmips <at> netbsd.org

Hello,

 I am having a problem getting USB to work on an ADM5120 based board
(Edimax BR6104KP*) - although the USB hub is recognised on boot when
I try to plug a device in I get a 'uhub0: device problem, disabling
port 1' message. Unfortunately I am not quite sure where to start - I
have attached a dmesg & debug output when a USB device is inserted
below (with usbdebug & uhcidebug set to 5) and would be grateful for
any pointers,

Regards, Paul

NetBSD 4.99.30 (EDIMAX-PF) #14: Thu Nov  1 22:41:20 GMT 2007
         paulc <at> netbsd:/usr/obj/sys/arch/evbmips/compile/EDIMAX-PF
(Continue reading)

Saravana Prasad | 13 Dec 2007 15:33
Picon
Favicon

Mapping uncached memory to user space

Hi,

   I need a mechanism to map a register space of a
device to user process which controls the device in
question.

    I was thinking about writing a simple device
driver to map the required space to the process using
mmap system call.

    One question I have in this regard is, how to make
the resultant memory access from user process
un-cached. If I'm not wrong, the PTE used for mapping
should carry this information. How this can be
accomplished? Any pointers will be helpful. The
processor in question is MIPS 24Kc (mips32 compliant).

Regards,
Saravana

      5, 50, 500, 5000 - Store N number of mails in your inbox. Go to http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html

Saravana Prasad | 14 Dec 2007 18:12
Picon
Favicon

Re: Mapping uncached memory to user space

Hi,

    Never mind. After reading the pmap code little bit more, it looks like what I wanted is provided by default
for unmanaged memory space.

Regards,
Saravana

----- Original Message ----
From: Saravana Prasad <saravanaprasads <at> yahoo.co.in>
To: port-mips <at> netbsd.org
Sent: Thursday, 13 December, 2007 8:03:05 PM
Subject: Mapping uncached memory to user space

Hi,

  I need a mechanism to map a register space of a
device to user process which controls the device in
question.

    I was thinking about writing a simple device
driver to map the required space to the process using
mmap system call.

    One question I have in this regard is, how to make
the resultant memory access from user process
un-cached. If I'm not wrong, the PTE used for mapping
should carry this information. How this can be
accomplished? Any pointers will be helpful. The
processor in question is MIPS 24Kc (mips32 compliant).
(Continue reading)


Gmane