On Thu, Sep 03, 2009 at 02:48:34PM -0600, Sebastian Kuzminsky wrote:
> Peter is right.  Also, there's this the dmesg you helpfully included:
> 
> > [ 1013.394259] hm2: loading Mesa HostMot2 driver version 0.15
> > [ 1013.403985] hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.6
> > [ 1013.954991] hm2_pci: driver unloaded
> > [ 1013.963593] hm2: unloading
> 
> The first line is the hostmot2 driver loading and the second line is the 
> hm2_pci driver loading.  The hm2_pci driver did not see any boards it 
> recognized.  Then half a second later emc2 has errored out (the 
> "pwm_frequency not found" error above) and everything gets unloaded.
> 
> What does "lspci -vvnn" say?

Please see adjacent post for that reply. Here's what happens when I try:

$ halrun
halcmd: loadrt hostmot2
halcmd: loadrt hm2_pci config="/lib/firmware/hm2/5i20/SVST8_4.BIT \
        num_encoders=3 num_pwmgens=3 num_stepgens=0"

$ lsmod
Module         Size  Used by
hm2_pci        9116  0
hostmot2      56320  1 hm2_pci
hal_lib       36248  2 hm2_pci,hostmot2
...

And in /var/log/syslog, I find:

hm2_pci: discovered 5i20 at 0000:00:08.0

Though it didn't like the SVST8_4.BIT which I offered it:

hm2/hm2_5i20.0: invalid token in config string:
                                    "/lib/firmware/hm2/5i20/SVST8_4.BIT"
hm2_5i20.0: board fails HM2 registration
hm2_pci: probe of 0000:00:08.0 failed with error -22

However, pasting the config pathname from /var/log/syslog to the
commandline, we have:

$ ls -l /lib/firmware/hm2/5i20/SVST8_4.BIT
-rw-r--r-- 1 root root 167061 2009-07-27 00:06 
/lib/firmware/hm2/5i20/SVST8_4.BIT

So the "invalid token" is quite inscrutable at this stage.

Nevertheless, it is progress, I think. (And it's more accessible than
the GUI. They don't like me, and the feeling's mutual.) In fact, I'd
be delighted to give up entirely on the Applications->CNC->EMC2 thingo
if there's a list somewhere of what needs to be done for lift-off, so I
can bang it in a script.

Any advice on whether I've stumbled across one of the better ways to
diagnose a recalcitrant meeting of emc and hardware would be much
appreciated. Once I understand a bit more, I'd like to offer a few
relevant words for the "Integrator Manual", since it doesn't seem to
expound to the extent of prolixity in that area. (And we beginners need
all the hints there are.)

Erik
(Still googling, hoping to find more gems of wisdom.)

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to