Jump to content

dude67

OTW
  • Posts

    1155
  • Joined

  • Last visited

Everything posted by dude67

  1. And here's the rule in udev: # cat /lib/udev/rules.d/huawei_e367.rules SUBSYSTEM=="usb",SYSFS{idProduct}=="1446",SYSFS{idVendor}=="12d1",RUN+="/usr/sbin/usb_modeswitch -c /usr/share/usb_modeswitch/12d1:1446"
  2. Bingo! It worked. Thank you Ian! Have a few virtuals on me! :beer:
  3. I'm now traveling and will be back home Friday so I cannot do the testing and cofiguring before that. I'll check the path this coming weekend. Do you mean that I'd add the path here in the udev rules? BTW, I always run updatedb before running locate.
  4. I cannot find any logs for usb_modeswitch. Even after I manually started it. I guess I need to teach my wife how to run commands on konsole and issue them as root. Can this command be executed with a desktop shortcut and with user rights (or the root password as a prompt)?
  5. I saw that, but I figured it'd be a different piece of sw.
  6. Also, I cannot find modem-modeswitch in the repos for Mageia1.
  7. I tried finding modem-modeswitch with locate, but it's not installed. No files found. But I already know that usb_modeswitch works, I just need to run that everytime I plug it in. I'd like to know if there is a way to make is stick. Will modem-modeswitch provide something new to this?
  8. K: Here's the file. I've added my modem version to the conf file: $ cat /etc/usb_modeswitch.conf # Configuration for the usb_modeswitch package, a mode switching tool for # USB devices providing multiple states or modes # # This file is evaluated by the wrapper script "usb_modeswitch_dispatcher" # in /usr/sbin # To enable an option, set it to "1", "yes" or "true" (case doesn't matter) # Everything else counts as "disable" # Disable automatic mode switching globally (e.g. to access the original # install storage) DisableSwitching=0 # Enable logging (results in a extensive report file in /var/log, named # "usb_modeswitch_<interface-name>" (and probably others) EnableLogging=1 DefaultVendor= 0x12d1 DefaultProduct=0x1446 TargetVendor= 0x12d1 TargetProductList="1001,1406,1446,140b,140c,1412,141b,1433,14ac,1506" CheckSuccess=20 MessageContent="55534243123456780000000000000011062000000100000000000000000000" Ian: there is no file "/lib/udev/modem-modeswitch". I just changed that to what was working for me in Mageia1. Do you think it would make a difference? In Mageia the usb_modeswitch data files are at /usr/share/usb_modeswitch/ directory (all different types having their own files like /usr/share/usb_modeswitch/12d1:1446 $ cat /usr/share/usb_modeswitch/12d1:1446 ######################################################## # Huawei, newer modems DefaultVendor= 0x12d1 DefaultProduct=0x1446 TargetVendor= 0x12d1 TargetProductList="1001,1406,140b,140c,1412,141b,1433,14ac,1446,1506" CheckSuccess=20 MessageContent="55534243123456780000000000000011062000000100000000000000000000"
  9. I don't know if what I did was done correctly. It didn't help, so could someone see there's something wrong with this. I want this dongle to automatically be recognized as a modem instead of harddrive or cd rom. I wrote a new rule to udev. Should this rule automatically run the command whenever this dongle is plugged in? # cat /lib/udev/rules.d/huawei_e367.rules SUBSYSTEM=="usb",SYSFS{idProduct}=="1446",SYSFS{idVendor}=="12d1",RUN+="usb_modeswitch -c /usr/share/usb_modeswitch/12d1:1446"
  10. Ian: I do have usb_modeswitch installed. But still it seems I need run that command again each time I plug the dongle back in.
  11. OK. Finally I managed to make the system recognize the dongle! I did a whole bunch of things, but in the end I did this: # usb_modeswitch -c /usr/share/usb_modeswitch/12d1:1446 The only problem I still have with this is that I seem to need to do that all over again if I detach the dongle at any time. How can I make that choice to stick? Or is it something that I need to run (always as a root) whenever I (or my wife) plug it in?
  12. These are the kernels. I don't think it's about the kernel version as someone suggested in that thread. Laptop: 2.6.38.8-server-6.mga netbook: 2.6.38.8-desktop-8.mga
  13. Thanks Isadora. It may be that the kernel versions differ - at least I know that for some reason my laptop has a server kernel version (I don't know why). I'll check that at home.
  14. My ISP sent me a Huawei E367 3G usb-dongle. I've never used one before, so this is all new to me. In my laptop (ACER w/ Mageia1 - see my sig) it was just Plug&Play. It works very well, no problem. It was correctly detected as a 3G modem. Now in my wife's notebook it's a different story. The dongle will not be correctly detected as a 3G modem, but instead a CD-Rom drive. I've tried with Network Center and with Network & Internet Configuration tool. All it says is that no devices detected. In my laptop, where it's detected correctly, it is detected as USB ID 12d1:1506. $ sudo lsusb Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 002: ID 0bda:0158 Realtek Semiconductor Corp. USB 2.0 multicard reader Bus 001 Device 003: ID 5986:0105 Acer, Inc Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 008: ID 12d1:1506 Huawei Technologies Co., Ltd. Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 004 Device 002: ID 046d:c526 Logitech, Inc. Nano Receiver $ But in the notebook it is detected as USB ID 12d1:1446 (w/ additional note: E1552 (HSPA modem)) $ sudo lsusb Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 007: ID 058f:6387 Alcor Micro Corp. Transcend JetFlash Flash Drive Bus 001 Device 004: ID 174f:5933 Syntek Bus 001 Device 008: ID 12d1:1446 Huawei Technologies Co., Ltd. E1552 (HSPA modem) Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 003 Device 002: ID 0a5c:2151 Broadcom Corp. Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub $ How can I get this detected correctly in the notebook? [moved from Hardware by spinynorman]
  15. I'm with John here; it's all Mageia for me. Mageia is like Mandriva should have been. It's working just fine on all our home hardware. The only hw I have not tried it on is the older workstation hw I'm running Mandriva as a server for my home Go Mageia team!
  16. I've drawn some userbars for some of the most popular distros. Please feel free to use them in sigs. http://dude67.devian...nners/&offset=0 [moved from Art and Design by spinynorman]
  17. Checking out Mageia and liking it!

    1. dude67

      dude67

      Now running Mageia with Mandriva only on my server.

  18. Visitin the African continent in Ghana

  19. Installing it now... :)
  20. I got this to work! Again I'm really not sure what it was that finally got this scanner to work, but one thing I did was install net-snmp package. Perhaps it was that, but anyway it's working now! Thanks to all who contributed!
  21. OK, thanks John. I really wanted the one with wireless printing and in the past HP has had a good track record of supporting Linux systems. But perhaps the problem lies within Mandriva - I have read that this particular printer/scanner works perfectly in Ubuntu... Is there anyone, who has managed to make an HP Photosmart to scan through WiFi in Mandriva?
  22. John, I meant to ask: Are you able to scan wirelessly with your Photosmart B109a? If so, how do you do it; do you just start xsane and you get the image from the scanner?
×
×
  • Create New...