libhd
5.0
|
Mouse detection. More...
Functions | |
static void | get_serial_mouse (hd_data_t *hd_data) |
static void | add_serial_mouse (hd_data_t *hd_data) |
static int | _setspeed (int fd, int old, int new, int needtowrite, unsigned short flags) |
static void | setspeed (int fd, int new, int needtowrite, unsigned short flags) |
static unsigned | chk4id (ser_device_t *mi) |
static ser_device_t * | add_ser_mouse_entry (ser_device_t **sm, ser_device_t *new_sm) |
static void | dump_ser_mouse_data (hd_data_t *hd_data) |
void | hd_scan_mouse (hd_data_t *hd_data) |
Mouse detection.
|
static |
Referenced by setspeed().
|
static |
References s_ser_device_t::next.
Referenced by get_serial_mouse().
|
static |
References add_hd_entry(), s_hd_t::attached_to, s_hd_t::base_class, bc_mouse, s_hd_t::bus, bus_serial, s_hd_t::compat_device, s_hd_t::compat_vendor, s_ser_device_t::dev_id, s_ser_device_t::dev_name, s_hd_t::device, free_mem(), hd_data, s_ser_device_t::hd_idx, hd_id_t::id, s_ser_device_t::is_mouse, MAKE_ID, hd_id_t::name, name2eisa_id(), new_str(), s_ser_device_t::next, s_ser_device_t::pnp_id, sc_mou_ser, hd_data_t::ser_mouse, s_ser_device_t::serial, s_hd_t::serial, s_hd_t::sub_class, TAG_EISA, TAG_SPECIAL, s_hd_t::unix_dev_name, s_ser_device_t::user_name, s_ser_device_t::vend, and s_hd_t::vendor.
Referenced by hd_scan_mouse().
|
static |
References s_ser_device_t::bits, s_ser_device_t::buf, s_ser_device_t::buf_len, s_ser_device_t::garbage, s_ser_device_t::is_mouse, is_pnpinfo(), s_ser_device_t::non_pnp, and s_ser_device_t::pnp.
Referenced by get_serial_mouse().
|
static |
References ADD2LOG, s_ser_device_t::bits, s_ser_device_t::buf, s_ser_device_t::buf_len, s_ser_device_t::class_name, s_ser_device_t::dev_id, s_ser_device_t::dev_name, s_ser_device_t::garbage, hd_data, hd_log_hex(), s_ser_device_t::is_mouse, s_ser_device_t::next, s_ser_device_t::non_pnp, s_ser_device_t::pnp, s_ser_device_t::pnp_id, s_ser_device_t::pnp_rev, hd_data_t::ser_mouse, s_ser_device_t::serial, and s_ser_device_t::user_name.
Referenced by hd_scan_mouse().
|
static |
References add_ser_mouse_entry(), s_hd_t::base_class, bc_comm, chk4id(), has_something_attached(), hd_data_t::hd, hd_data, hd_id_t::id, s_hd_t::idx, new_mem(), new_str(), s_ser_device_t::next, s_hd_t::next, sc_com_ser, hd_data_t::ser_mouse, setspeed(), s_hd_t::tag_s::skip_mouse, s_hd_t::sub_class, s_hd_t::tag, and s_hd_t::unix_dev_name.
Referenced by hd_scan_mouse().
void hd_scan_mouse | ( | hd_data_t * | hd_data | ) |
References add_serial_mouse(), hd_data_t::data, hd_data_t::debug, s_ser_device_t::dev_name, dump_ser_mouse_data(), hd_data_t::flags, hd_data_t::flag_struct::forked, free_mem(), get_serial_mouse(), hd_data, HD_DEB_MOUSE, hd_fork(), hd_fork_done(), hd_move_to_shm(), hd_probe_feature(), hd_shm_clean(), mod_mouse, hd_data_t::module, s_ser_device_t::next, pr_mouse, PROGRESS, remove_hd_entries(), hd_data_t::ser_mouse, and hd_data_t::shm.
Referenced by hd_scan_no_hal().
|
static |
References _setspeed().
Referenced by get_serial_mouse().