WHY? is it so hard to get Linux to work?
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Other forums
- :
- Tech Help - Software/Hardware etc
- :
- Re: WHY? is it so hard to get Linux to work?
Re: WHY? is it so hard to get Linux to work?
02-08-2011 1:00 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Quote from: MisterW Usb modeswitch has done it's job fine, we now need to get the driver to recognise it.
No it hasn't, not quite, since usb_modeswitch is also supposed to take care of adding the device IDs to the "option" kernel module if necessary. What the usb_modeswitch script should be doing is:
/sbin/modprobe option
/bin/echo 12d1 1506 > /sys/bus/usb-serial/drivers/option1/new_id
I got those lines more or less from /lib/udev/usb_modeswitch. Those IDs are already listed in the option driver in linux 3.0.0.
Re: WHY? is it so hard to get Linux to work?
02-08-2011 2:08 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Sorry , I Didn't realise that modeswitch did that as well. I just thought it handled the device reset and switch to modem mode.
Superusers are not staff, but they do have a direct line of communication into the business in order to raise issues, concerns and feedback from the community.
Re: WHY? is it so hard to get Linux to work?
02-08-2011 3:15 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Quote from: MisterW
@shutter,Plug the device in, wait for the CDROM to disappear and then check using lsusb that the device now appears as
Quote ID 12d1 :1506 Huawei Technologies co., Ltd.
Now try running sudo modprobe option vendor=0x12d1 product=0x1506 ( from a terminal window ) and see if newtork manager now 'sees' the device. You could also perhaps post the output of dmesg ( the last 20 lines or so ) following the sudo modprobe command
OK....... did the lsusb bit and confirmed as bus001 Device 004 ID 12d1 1506 HUAWEI Technologies Ltd
then typed in the sudo bit....
got this in reply.....
FATAL: Error inserting option (/lib/modules/2.6.38 - 10 generic/kernel/drivers/usb/serial/option.ko): Unkonwn symbol in modul, or unknown parameter (see dmesg) {{{{ which I have not done yet}}}}
Re: WHY? is it so hard to get Linux to work?
02-08-2011 3:32 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
My knowledge of Linux is Nil but thought it worth posting in case anyone is put off trying Linux.
Re: WHY? is it so hard to get Linux to work?
02-08-2011 3:42 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
sudo /sbin/modprobe option
sudo /bin/echo 12d1 1506 > /sys/bus/usb-serial/drivers/option1/new_id
Re: WHY? is it so hard to get Linux to work?
02-08-2011 4:14 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
second line...
bash: /sys/bus/usb-serial/drivers/optional/new_id: Permission denied
Re: WHY? is it so hard to get Linux to work?
02-08-2011 4:14 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Re: WHY? is it so hard to get Linux to work?
02-08-2011 4:33 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Quote from: shutter did the first line, but nothing appears
second line...
bash: /sys/bus/usb-serial/drivers/optional/new_id: Permission denied
My mistake probably, since I don't use sudo, instead just have one terminal window with a root shell open. Try adding some quotes:
sudo "/bin/echo 12d1 1506 > /sys/bus/usb-serial/drivers/option1/new_id"
If it succeeds, there will be no output, so check dmesg so see if it worked.
Re: WHY? is it so hard to get Linux to work?
02-08-2011 4:50 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
[sudo] password for gerry : flashing black cursor....... typed in my password , but could not see it...... and after a while got
Sorry, try again,
so I did.... 3 times and same result... so zilch from that ! ! ! ..
Re: WHY? is it so hard to get Linux to work?
02-08-2011 5:04 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
/bin/echo 12d1 1506 > /sys/bus/usb-serial/drivers/option1/new_id
Re: WHY? is it so hard to get Linux to work?
02-08-2011 5:12 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Re: WHY? is it so hard to get Linux to work?
02-08-2011 5:26 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
/sbin/modprobe -r option
/sbin/modprobe usbserial vendor=0x12D1 product=0x1506
Re: WHY? is it so hard to get Linux to work?
02-08-2011 5:37 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
second line reply
bash: /sbin/modprobe/usbserial/vendor=12d1: Not a directory
(also same using capital D in 12d1)
.
Re: WHY? is it so hard to get Linux to work?
02-08-2011 6:14 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
/sbin/modprobe option
cd /
cd sys
cd bus
cd usb-serial
cd drivers
cd option1
echo 12d1 1506 > new_id
Re: WHY? is it so hard to get Linux to work?
02-08-2011 6:22 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
will start on the list above... ..... .... standby....
ok... here is the result
/sbin/modprobe/option (nothing)
cd /
changed my name to / #
cd sys
changed the above to
sys #
cd bus
bus #
cd usb-serial
usb-serial #
cd drivers
drivers #
cd option1
option1 #
echo 12d1 1506 > new_id
option1 # (flashing cursor)
all responses were in blue (as is my name at the start position)
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Other forums
- :
- Tech Help - Software/Hardware etc
- :
- Re: WHY? is it so hard to get Linux to work?