Buffalo NAS-Central Forums

Welcome to the Linkstation Wiki community
It is currently Mon Dec 22, 2014 12:10 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Usb to serial on LS-WXL
PostPosted: Thu Mar 22, 2012 2:44 am 
Offline
Total Newbie

Joined: Thu Mar 22, 2012 2:38 am
Posts: 3
Hello,

I would like to put some code on my link-station to incoming Ethernet packets and route them out the usb port to an arduino for a project I am working on. I currently have my arduino code working as well as a small server running on the link-station which received my ethernet connection. The problem is I am having trouble getting access to the serial port on the link-station?

I see 'No such file or directory' whenever I try to connect to any of the /dev/tty*

Has anyone done anything like this before? I expect I maybe missing a required usb to serial driver however I think I should still be able to open the ports, but I cannot even get that far?


Top
 Profile  
 
PostPosted: Thu Mar 22, 2012 6:04 am 
Offline
Moderator

Joined: Fri Jun 29, 2007 10:39 am
Posts: 2601
Look into the .config of the stock kernels source, if usb serial
is enabled at all.
If not, this is your first problem. If yes, create the devices by
hand (we are talking about ttyS, don't we?).

_________________
Please do not use private mail (PN/M) to ask questions. Use the proper forum instead. (me)

If there is no verified backup of a dataset, the dataset, by definition, is unimportant. (c't 2012)

RAID (no matter which level) never ever substitutes a backup. (me)


Top
 Profile  
 
PostPosted: Thu Mar 22, 2012 9:44 pm 
Offline
Total Newbie

Joined: Thu Mar 22, 2012 2:38 am
Posts: 3
Is there a way I can check the .config on the device? Or is the kernel source posted somewhere? I have looked and have not been able to find it.

Also the devices alright exist /dev/ttyUSB*, I am just unable to open them. Is there some way to enable usb serial if it is disabled without recompiling the kernel?


Top
 Profile  
 
PostPosted: Fri Mar 23, 2012 7:40 am 
Offline
Moderator

Joined: Fri Jun 29, 2007 10:39 am
Posts: 2601
Using "buffalo source code" in a INet search engine gave the link
to Buffalos source code site as the first hit.
http://opensource.buffalo.jp/
The kernel source is the package which name starts with "linux"
and contains the kernel revision number in its name as well.
Not THAT hard to find. ;)

_________________
Please do not use private mail (PN/M) to ask questions. Use the proper forum instead. (me)

If there is no verified backup of a dataset, the dataset, by definition, is unimportant. (c't 2012)

RAID (no matter which level) never ever substitutes a backup. (me)


Top
 Profile  
 
PostPosted: Fri Mar 23, 2012 7:46 pm 
Offline
Total Newbie

Joined: Thu Mar 22, 2012 2:38 am
Posts: 3
Thanks for the link. I have been searching for linkstation or LS-WXL, I suppose I should have tried the company name but I didnt think of it.

So it looks like usb-serial is not enabled. Is there anyway to enable it without recompiling and reflashing the kernel?


Top
 Profile  
 
PostPosted: Sat Mar 24, 2012 7:45 am 
Offline
Moderator

Joined: Fri Jun 29, 2007 10:39 am
Posts: 2601
At least you will need the MATCHING modules for the kernel.
To get the modules, you will need to compile the kernel (or
find one to compile them for you).

_________________
Please do not use private mail (PN/M) to ask questions. Use the proper forum instead. (me)

If there is no verified backup of a dataset, the dataset, by definition, is unimportant. (c't 2012)

RAID (no matter which level) never ever substitutes a backup. (me)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:

Protected by Anti-Spam ACP
Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group