Skip to contentSkip to conversation

Newbie Question about the SJA1000_Platform Driver

Socketcan-users Wolfgang Grandegger 1 participant 1 message Feb 29, 2012 3 messages not in the archive CAN network drivers

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): 001501ccf722$4ff38590$efda90b0$@com

#3 lore raw

Hi Frederic,

first, I switch the discussion to our new mailing list...

Quoted 8 lines · Fredric J. Einstein

Hi Wolfgang,

Thanks for answering my question. I loaded the latest version of Debian (yesterday) from their website (using the "live" version and then installing from that image). I searched the installation and didn't find sja1000_isa at all, only sja1000 and sja1000_platform. I have a 32 bit Atom board and the Debian installation went normally. Did I perhaps install the wrong thing? Thanks again for your patience!

I have in my Ubuntu distribution:

~$ ls -l /lib/modules/2.6.38-8-generic/kernel/drivers/net/can/sja1000/ total 72
-rw-r--r-- 1 root root 7468 2011-04-11 11:16 ems_pci.ko -rw-r--r-- 1 root root 7796 2011-04-11 11:16 kvaser_pci.ko -rw-r--r-- 1 root root 10876 2011-04-11 11:16 plx_pci.ko -rw-r--r-- 1 root root 10436 2011-04-11 11:16 sja1000_isa.ko -rw-r--r-- 1 root root 12392 2011-04-11 11:16 sja1000.ko -rw-r--r-- 1 root root 6516 2011-04-11 11:16 sja1000_platform.ko -rw-r--r-- 1 root root 5936 2011-04-11 11:16 tscan1.ko

If you just find sja1000 and sja1000_platform, your distro/kernel is most probably broken.

Wolfgang.

Quoted 30 lines

Fred E.

-----Original Message-----
From: Wolfgang Grandegger [mailto:[email protected]]
Sent: Wednesday, February 29, 2012 3:22 PM
To: FredEi
Cc: [email protected]
Subject: Re: [Socketcan-users] Newbie Question about the SJA1000_Platform Driver

Quoted 8 lines · FredEi

Please excuse my ignorance, but I'm very new to compiling Linux kernels,
setting parameters for Platform type drivers etc. Our Intel Atom based
board has an SJA1000 controller on it that worked in older versions of Linux (such as Ubuntu 10.04) with the SJA1000_ISA driver that was included with Ubuntu. Unfortunately, with Debian Squeeze (the latest version), it seems that this driver has been replaced with SJA1000_PLATFORM. However, unlike

Why do you think that? The sja1000_isa is still available in the mainline kernel. And the sja1000_platform driver is not replacing it? It serves a different bus. Is it possible that you switched to 64bit Linux at the same time? Older kernel versions do not support sja1000_isa on x86_64 but the issue has been fixed in the meantime.

Wolfgang.