Hi Stuart, thanks for the quick response. > # slcand ttyUSB0 S8 O -- C > > CANUSB device starts working at this point and a slc0 device is created.
Should there be "/dev/slc0" after that? If yes, it doesn't appear on my system, but... ...i got it working though! Before doing "slcand ttyUSB0 S8 O -- C" i set the baudrate of my ttyUSB0 to 57k6 with "stty -F /dev/ttyUSB0 57600". I checked the change with "stty -F /dev/ttyUSB0". After "slcand ttyUSB0 S8 O -- C" the baudrate seems to be changed to 115k2. So i checked the slcand.c and found, that with your patch the baudrate is changed to 115k2. But my interface starts up with 57k6. I changed the source to "B57600" and ...tadaaaa... it works. Wouldn't it be better to have the baudrate as a parameter? As default it could be 115k2. That would be really great. Steve Hellriegel's comment sounds really interesting too. Another short question: Which kernel modules are mandatory to be loaded to get this SLCAN stuff working? Is it only "slcan" or are additional modules like e.g. "can_raw" nescessary? Thanks to all. Regards, Thorsten ( --... ...-- -.. . -.. .-.. ----. ... . -.-. ;-) ) _______________________________________________ Socketcan-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/socketcan-users
