Martin Henne wrote: > Hi all, > > I have a weird problem with my CAN-Software that worked a while ago. > I have two machines, a desktop PC and a laptop, both have Ubuntu 9.04 > with kernel 2.6.28-15 installes, both compiled and installed the peak- > linux-drivers 6.11 correctly. (make && sudo make install). > > I also installed today's version of socketcan (svn) on both machines. > > On both machines I can do 'ifconfig can0 up' without any problems. On the > labtop, I can then do e. g. > > $ candump can0 > or > $ cansend can0 201#11.22.33.44.55.66.77.88 > > and things like that. It works. I checked that by connecting another PC > (sorry, it was Windows XP) using PCan-View. > > When I try the same thing on the desktop PC, I get: > > $ cansend can0 201#11.22.33.44.55.66.77.88 > socket: Address family not supported by protocol
Is the module raw.ko loaded? > I installed the driver the same way as I did on the laptop and I have no > other > signs that anything fails. On the non-working desktop pc, 'cat /proc/pcan' > gives this: > > > *------------ PEAK-Systems CAN interfaces (www.peak-system.com) ------------- > *-------------------------- Release_20090626_n ---------------------------- > *------------- [mod] [isa] [pci] [dng] [par] [usb] [pcc] [net] -------------- > *--------------------- 1 interfaces @ major 249 found ----------------------- > *n -type- ndev --base-- irq --btr- --read-- --write- --irqs-- -errors- status > 32 usb can0 ffffffff 255 0x001c 00000001 00000000 0000019f 00000000 0x0000 > > On the (working) laptop, it gives: > > > *------------ PEAK-Systems CAN interfaces (www.peak-system.com) ------------- > *-------------------------- Release_20090626_n ---------------------------- > *------------- [mod] [isa] [pci] [dng] [par] [usb] [pcc] [net] -------------- > *--------------------- 1 interfaces @ major 249 found ----------------------- > *n -type- ndev --base-- irq --btr- --read-- --write- --irqs-- -errors- status > 32 usb can0 ffffffff 255 0x001c 00000000 00000001 000001c0 00000000 0x0000 > > What can i do to investigate the problem in detail? > > I use two PCAN USB-Adapters (/dev/pcan32), one has firmware 0.7, the other > uses > a newer (2.?) firmware. exchanging them makes no difference. > > I appreciate any help. We do not support the PCAN character device interface from PEAK. Please ask on their support ML. Wolfgang. _______________________________________________ Socketcan-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/socketcan-users
