Software :: Ioctl - ATM_SETBACKEND - No Such Device - Speedtouch 330
May 24, 2010
I have a problem with USB modem SpeedTouch 330 in SUSE
When I execute:
Code:
I see this:
Code:
I have checked command 'lsmod' and it returns
Code:
In general I see speedtch is several times in the output of lsmod
When I check this:
Code:
I see
Code:
Why I cannot establish a connection to the internet?
View 1 Replies
ADVERTISEMENT
Feb 12, 2010
Hi I am trying to add the device by using followig code strip and it says that eth1 is not defind in the code.
strncpy(ifr.ifr_name,eth1,IFNAMSIZ);
if (ioctl(sd, SIOCGIFINDEX, &ifr) == -1) {
return 0;
}
How do I write down the DEVICE name in the ifr.ifr_name structure ?
View 2 Replies
View Related
Jul 4, 2011
I want to modify ioctl TIOCMWAIT to return the same thing that ioctl TIOCMGET returns. Currently wait returns an int of zero or -1 when a change in status occurs. Why not make it return the new status?
This will make the operation faster by not requiring another call to ioctl.The extra call requires 2 to 16 uSeconds to complete on my x64 laptop. How would I make this proposal to the kernal people?
View 1 Replies
View Related
Jun 24, 2011
Now i have a problem.I want to used a hid usb device under linux 2.6.11.But i can't know how to used ioctl function to send and receive data to a hid device
View 3 Replies
View Related
Jun 13, 2010
I'm having some difficulities with truecrypt and cannot figure out what's wrong since this is my first attempt to create hidden encrypted partition. I'm using ubuntu 9.10 64b with latest 6.3a truecrypt. After using truecrypt gui (just command truecrypt) I've tried: create volume-->create volumne within a partition/drive-->hidden trucrypt volume --> select some /dev/sdX by my choice --> select aes & sha512 --> password --> and format it.
when formating finished message "wrong ss, swith or wrong superblock of /dev/loop0" appeared. I've got no idea what could I do with it neither know whats program trying to do! Ok formating's done, then if you're trying to mount that partition then I would expect prompt for password, but that did not happen ...
EDIT: sudo mount /dev/loop0 /media/tmp/ also complaint about wrong superblock, but that does not ring any bell since i've got no idea what /dev/loop0 is or is for...
EDIT2: I've tried another approach also:
sudo truecrypt -t -c
sudo truecrypt -t /dev/sda3 --filesystem=none
but the first command finished creating 100G drive in 1 sec (nonsense) and latter one prints:
Error: device-mapper: reload ioctl failed: Invalid argument
Command failed
View 3 Replies
View Related
Dec 5, 2010
The error message I keep getting during mounting is:-
device-mapper: remove ioctl failed: Device or resource busy
This is from ane external USB HDD I use as a backup device. I've tried formatting it as ext4 ane encrypting it from the command line
# mkfs.ext4 /dev/sdc1
# cryptestup luksFormat /dev/sdc1
which run without errors but an attempt to mount throws up the above error as well as saying - you must specify the file type (tried that) - and fails to mount. I've tried using YaST to format and encrypt it which throws up the same error when I run mount but actually does actually mount the filesystem Googling around has brought up info saying that it's probably a race condition brought on by invalid udev rules. I've got a (mostly) working system and the udev rules documentation leaves more confused than when I started.
View 8 Replies
View Related
Sep 10, 2009
I've read hundreds of threads on this problem but they seem to be intermittent and the resolution has been using a different kernel version.
I'm using the latest kernel but I still have this problem
Running Logical Volume Manager gui and attempting to extend the volume results in the same error.
View 3 Replies
View Related
Jan 13, 2011
My girlfriend's xp machine has decided to refuse to boot and as a consequence have told her I can install fedora for all her computing needs (facebook and errrrrrrm facebook)
Problem, she's got this strange usb modem, a thomson speedtouch 330 which when plugged into my laptop is listed in lsusb and lsmod which suggest to me the module/driver is built into the kernel, but does not at present work, I'd hate to admit defeat and reinstall xp.
View 10 Replies
View Related
Jul 4, 2010
I have been successfully using my speedtouch usb 330 for years.
Now suddenly something weird occurs.I manage to stay connected a few minutes, afterwards the line drops down and I can't reconnect.
I switched the connection script to "verbose mode" and what I get is:
It seems that I can't get an answer from the provider, but if I reboot it connects at first attempts, but the connection falls down again after a few minutes.
I have dual boot. No similar problems is affecting the connection under Windows, so some hardware fault is ruled out as a possibility.
View 5 Replies
View Related
Jun 29, 2010
I recently began using fedora (13) on my acer laptop, and at first the WiFi was fine. However, after a day, it wouldn't connect to my SpeedTouch router through WiFi (though it works fine with a cable), however, it works fine with my Philips Router WiFi.
View 1 Replies
View Related
Apr 28, 2009
I'm trying to use Speedtouch USB modem.
According to [url].
After a bit of fighting interface works I can ping any domain name or ip address. I can even connect to web server via telnet, for example telnet www.org 80. I can see the response from Web server, but Mozilla says that it is offline, System Update says that no connection.
What can be the problem if manually I can connect but any Gnome GUI program says you are offline?
View 1 Replies
View Related
May 25, 2010
I installed Ubuntu 10.04 this morning and everything is working fine apart from one thing. I am unable to install my Speedtouch 330 modem on it and connect to the internet, I looked on the help pages and found this:
"Visit Ubuntu Packages Search and search for each of the following packages. Download them to a folder that is also visible from Ubuntu (or to a USB stick).
As I cannot access the internet I had to go back to windows, download them onto a memory stick, go back on to Ubuntu and install them. The first 12 worked fine and are now installed but number 13 and 14 wont allow me to update because "the dependency is un-satisfiable" does anyone know what this means and how I can fix it? I was also unable to get the USB ADSL Modem Manager too install either because of another error.
View 5 Replies
View Related
Apr 30, 2011
I have just upgrade to natty from maverick and my usb wifi dongle doesn't want to work. The usb wifi adapter i use is a Thonsom Speedtouch 121g. When using ubuntu 10.10 it work's fine after installing the package linux-firmware-nonfree, but after upgrading to natty it has stop working (the linux-firmware-nonfree package is installed [don't know if is the same version or an upgraded one]).
The network manager doesn't display available wifi nets. The output for lsusb is:
Bus 001 Device 004: ID 06b9:0121 Alcatel Telecom SpeedTouch 121g Wireless Dongle
View 9 Replies
View Related
May 8, 2010
I have used the following code for HDD spindown.
Quote:
{
#ifndef WIN_STANDBYNOW1
#define WIN_STANDBYNOW1 0xE0
#endif
[code]....
Is ther any ioctl command to do HDD spin-up from spin-down? or Is there any way to HDD spin-up?
View 2 Replies
View Related
Feb 4, 2011
I am able to retrieve IPv4 addresses with ioctl. But it is not returning IPv6 addresses. My requirement is to get both IPv4 and IPv6 addresses. I can not use getifaddrs() since it has to be common code between linux, solaris and aix. Solaris and AIX are not having getifaddrs(). Following code is returning only IPv4 addresses.
Code:
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <netdb.h>
[Code]....
View 1 Replies
View Related
Feb 28, 2011
I was trying to get the ssid of WLAN through the following C program
What is the cause of this error?
View 1 Replies
View Related
Jul 21, 2010
I'm creating a usb device driver that needs to be able to read from two different endpoints. I couldn't see any way of having two read functions in the driver, so I got round this by reading from one of the endpoints with read, and the other with ioctl.However this hasn't worked, the ioctl call from c returns -1. I added a printk command in the driver in the ioctl function, however looking at kern.log I can see that this function is never being called. Does anyone have any ideas as to what the problem called be, or a better method of being able to read from two different endpoints?
View 2 Replies
View Related
Jan 18, 2011
I just want to read and write some values (integer) to my driver. I used put/get user but always getting errors.
driver
Quote:
int Wert;
static int device_ioctl(struct inode *inode, struct file *file, unsigned int cmd, unsinged long arg)
int ret;
[code]...
Quote:
int WERT
ret=ioctl(fd, SETIT, WERT)
ret=ioctl(fd, GETIT, WERT)
if i say in C++ WERT is 5 the value arg of the driver becomes 5 but not WERT the returnvalue of get and put user is -1 so it failed.
View 12 Replies
View Related
May 19, 2010
I have retrieved IPv4 address successfully using
Code:
struct ifreq ifr;
fd = socket(AF_INET, SOCK_DGRAM, 0);
ifr.ifr_addr.sa_family = AF_INET;
ioctl(fd, SIOCGIFADDR, &ifr)
for IPv6 address I tried
[Code]....
View 5 Replies
View Related
Apr 8, 2010
I have a kernel function device_ioctl(). How do I define it in file_operations?
1. struct file_operations memory_fops = {
ioctl:device_ioctl
};
2. struct file_operations memory_fops = {
.ioctl=device_ioctl
};
3. struct file_operations memory_fops = {
device_ioctl
};
which one is the right one?
View 1 Replies
View Related
Jul 1, 2010
I use ioctl to get the console window size (the SSH window). I use the following code:
struct winsize ws;
int returnValue = ioctl(pCommandStructure->terminal, TIOCGWINSZ, &ws);
int numberOfColumnsOfTerminalWindow = ws.ws_col;
When I debug on linux pc, it gives me the correct window width. But after I try it on router (this is my enventual place where my code shall run), ioctl always give me 0 width, that is, numberOfColumnsOfTerminalWindow == 0. but the returnValue is 0 which means that the function call succeeds.
View 2 Replies
View Related
Apr 6, 2011
I am having the following problem. The following code works fine on my P.C. Ubuntu x64, and on a jetway mini-itx board with an atom processor. The problem is, the same code doesn't work on the intel equivalent of the jetway board. I thought the maybe, I didn't have the port configured right, so I turned on Hardware Flow control and also tried turning on the modem bits I needed with TIOCMBIS. Neither worked. Here is the code. There are two threads, one of them, respsponding to the client, and using the RTS and DTR pins to power two relays. The other, manages listening to CTS and DSR for input. Here is the class with the first thread.
Code:
/*
* DigitalIOCore.cpp
*
* Created on: Nov 1, 2010
* Author: jonathan
[code]....
View 9 Replies
View Related
Jul 22, 2011
Please send me the code how to assign ipv6 address using ioctl system call using C.
View 1 Replies
View Related
Sep 24, 2010
This morning I logged in and typed startx. My box said:
(EE) ioctl EVIOCGNAME failed: Inappropriate ioctl for device
(EE) PreInit returned NULL for "Mouse1"
Since I have two computers, basically identical, I looked up stuff on one and I decided to upgrade the problem box to 13.1 from 13.0 since that would undoubtedly fix the problem. Well, the problem is the same. However, root can startx just fine. Also, gpm seems to work fine for the user.
View 4 Replies
View Related
Dec 4, 2010
Just installed Fedora 14 from the Live CD i686 on my Dell Inspiron 1521. I can't connect to the SpeedTouch 585 on either wireless broadcom card or the wired Ethernet card.
I can connect to it from the same Laptop on the Vista which is on dual boot on the same laptop.
Further confusing is that I ran Fedora 14 and connected to another SpeedTouch today.
Already checked the Channel on the wireless nic and it's on the same one as the SpeedTouch.
View 6 Replies
View Related
Jan 23, 2010
I'm trying to install my first linux system. I would like to use it as a server on an old 386 PC.For the internet connexion (ADSL) i use a Speedtouch USB modem.When i list the peripheral installed on the system, i see the modem with apparently a driver, but the device is listed as non classified. For me it should be directed to DSL0 but..According to some tuto i declared a DSL connection, ppp with ATM (VPI8 and VCI35).I launch the connection with pinternet but the connection failed.
View 4 Replies
View Related
Dec 14, 2010
In 10.04 I was using the following commands to mount an encrypted disk image:
Code: sudo losetup -f Which tells what loop back device block is available Then I'd type:
Code: sudo losetup -e aes /dev/loop0 /home/user/crypt.img and then enter the device's password
Code: sudo mount -t ext4 /dev/loop0 /media/crypt I've tried this in 10.10 and it hasn't been working (I can't remember if I did anything in 10.04 to make it work). I've installed the loop-aes-utils package and restarted my machine. Every time I try the 2nd step, after entering the password I get: Code: ioctl: LOOP_SET_STATUS: Invalid argument, requested cipher or key length (128 bits) not supported by kernel
View 1 Replies
View Related
Jul 1, 2010
I use ioctl to get the cosole window size (the SSH window).
I use the following code:
When I debug on linux pc, it gives me the correct window width. But after I try it on router (this is my enventual place where my code shall run), ioctl always give me 0 width, that is, numberOfColumnsOfTerminalWindow == 0. but the returnValue is 0 which means that the function call succeeds.
View 2 Replies
View Related
Jun 20, 2010
I want to know where is the "ioctl" source code?It's header file can be found in "/usr/include/sys/ioctl.h"And is as below:
Code:
#ifndef_SYS_IOCTL_H
#define_SYS_IOCTL_H1
[code]....
View 3 Replies
View Related
May 15, 2011
Recently, I created a device sc0 through device mapper. The divice could be found in /dev/mapper/sc0. My problem is that the device doesn't exist in /dev/partitions which will block my following test.BTW, I found dm-0 in /dev/partitions. Is it the same as /dev/mapper/sc0? But the device /dev/dm-0 doesn't exist!
View 2 Replies
View Related