Re: Compiling and debugging custom ralink driver for 5.3 GENERIC (release)

2013-07-04 Thread Nathan Goings
On 7/4/2013 10:27 AM, Remco wrote: It has an AUTOCONF_VERBOSE define that can be used to get more verbose output, though I don't remember how useful it is. Looking at config(8), I think you should be able to set it in your copy of the GENERIC file as: option AUTOCONF_VERBOSE=1 ugh, I enabled AUTO

Re: Compiling and debugging custom ralink driver for 5.3 GENERIC (release)

2013-07-04 Thread Remco
On Thursday 04 July 2013 20:33:16 Nathan Goings wrote: > > Thanks! I was just about to ask how to get more verbose output. What is > printfs? It's my plural for printf. > Finally, Is there a way to re-test the driver match/attach without > rebooting? I don't think so, unless your device is hotplu

Re: Compiling and debugging custom ralink driver for 5.3 GENERIC (release)

2013-07-04 Thread Nathan Goings
On 7/4/2013 10:27 AM, Remco wrote: On Wednesday 03 July 2013 19:11:19 Nathan Goings wrote: ... I would think if the attach failed it would be in /var/log/messages. How would I debug this? If the attach is failing, I might try crafting it to use a different driver. (guess I should try printf)

Re: Compiling and debugging custom ralink driver for 5.3 GENERIC (release)

2013-07-04 Thread Remco
On Wednesday 03 July 2013 19:11:19 Nathan Goings wrote: ... > > I would think if the attach failed it would be in /var/log/messages. > How would I debug this? If the attach is failing, I might try crafting > it to use a different driver. (guess I should try printf) > I usually use printfs in pl

Re: Compiling and debugging custom ralink driver for 5.3 GENERIC (release)

2013-07-03 Thread Nathan Goings
Thanks for your response! On 7/3/2013 1:07 AM, Remco wrote: AFAIK this is step one. Assuming you added the PCI IDs correctly, the driver's attach function should run. However, to the best of my understanding, you chose a more or less random attach function for your unsupported device. My guess i

Re: Compiling and debugging custom ralink driver for 5.3 GENERIC (release)

2013-07-03 Thread Remco
Nathan Goings wrote: > I purchased an Edimax EW-7128Gn that contains a ralink RT3060 chip and > it's unrecognized. > > dmesg: > vendor "Ralink", unknown product 0x3060 (class network subclass > miscellaneous, rev 0x00) at pci4 dev 0 function 0 not configured > > The documentation says a/g/n but

Compiling and debugging custom ralink driver for 5.3 GENERIC (release)

2013-07-02 Thread Nathan Goings
I purchased an Edimax EW-7128Gn that contains a ralink RT3060 chip and it's unrecognized. dmesg: vendor "Ralink", unknown product 0x3060 (class network subclass miscellaneous, rev 0x00) at pci4 dev 0 function 0 not configured The documentation says a/g/n but this is a b/g/n. Ralink's drivers